package com.jixi.common.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 封装分页查询结果，退餐列表需求特化
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "分页查询结果，退餐列表需求特化")
public class PageResultByReturnOrderDetail implements Serializable {
	
	@Schema(description = "总记录数")
	private long total; //总记录数
	
	@Schema(description = "当前页数据集合")
	private List records; //当前页数据集合
	
	@Schema(description = "当前搜索条件下的总金额")
	private double totalMoney; //当前搜索条件下的总金额，特殊需求
	
}
